package com.lovo.project.util;

import com.lovo.project.bean.MessagePrompt;
import lombok.Data;

@Data
public class ResponseResult<T> {
//    响应消息
    private String message;
//    响应编码
    private String code;
    private T data;

    public ResponseResult() {
        this.message= MessagePrompt.SUCCESS.getMessage();
        this.code= MessagePrompt.SUCCESS.getCode();
    }
}
